package com.example.springbootdemo.mapper;

import com.example.springbootdemo.entity.WecSupplierSpec;
import com.example.springbootdemo.entity.WecSupplierSpecWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WecSupplierSpecMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WecSupplierSpecWithBLOBs record);

    int insertSelective(WecSupplierSpecWithBLOBs record);

    WecSupplierSpecWithBLOBs selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WecSupplierSpecWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(WecSupplierSpecWithBLOBs record);

    int updateByPrimaryKey(WecSupplierSpec record);

    List<WecSupplierSpec> getSpecList(@Param("startIndex") Integer startIndex,@Param("pageSize") Integer pageSize);
}